package cn.iocoder.yudao.module.design.controller.admin.diary.vo;

import cn.hutool.core.date.DatePattern;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

@Tag(name = "管理后台 - 日记 Response VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class DiaryRespGroupVO extends DiaryBaseVO {

    @Schema(description = "日志日期", required = true)
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private Date date;

    @Schema(description = "日志集合", required = true)
    private List<DiaryRespVO>  data;
}
